package cn.agiledata.bank.transaction.action;

import javax.servlet.http.HttpServletRequest;

import cn.agiledata.bank.common.util.Constant;
import cn.agiledata.bank.hibernateBean.Bank;

/**
 * 网上银行充值
 * 
 * @author maxianbo
 * 
 */
public class NetBankInpourAction extends OnlineInpourAction {

    protected String getActionTypeCode(HttpServletRequest request) {
        return isCorpAccount(request) ? Constant.ACTION_TYPE_B2B_NET_INPOUR
                : Constant.ACTION_TYPE_B2C_NET_INPOUR;
    }

    protected Bank[] getBankList() {
        return getWebPayService().getSupportedNetBanks();
    }

}
